Skip to content

Conversation

kolos
Copy link

@kolos kolos commented Apr 3, 2023

Don't just trust the content type header, check for the content for parameters too.

This is useful when JSON is posted with the content type application/x-www-form-urlencoded.

It should not be happening, but there are buggy clients always using that header for POST...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant